{% extends "base.html" %} 
{% load pagination_tags %}


{% block base_content %}
<div id="header-wrap"><div id="header" class="container_16">						
		
		<div id="logo"></div>
		<!-- navigation -->
		<div  id="nav">
			<ul>
				<li><a href="../index/">首页</a></li>
				<li id="current"><a href="../house/">买房</a></li>
				<li><a href="../rent/">租房</a></li>
				<li><a href="../map/">地图</a></li>
				<li><a href="../contact/">联系我们</a></li>	
			</ul>		
		</div>		

	<!-- header ends here -->
	</div></div> 
	<!-- content starts -->
	<div id="content-outer"><div id="content-wrapper" class="container_16">
	
		<div class="clear">&nbsp;</div>
		<!-- main -->
		<div id="main" class="grid_12">
			{% autopaginate house_list%}
			<ol class="commentlist">
			{% for house in house_list %}
				<li {%if forloop.counter|divisibleby:"2" %} class="alt" {%endif%}>
				 
				<span><a href="detail/{{house.id}}/"><img src="/media/{{house.image}}" width="50" height="50" alt="{{house.name}}" /></a></span>
				 
				<span style="vertical-align:top">
				<a class="more-link" href="detail/{{house.id}}/">{{house.name}}</a> 
				 {{house.detail}} 	
				</span>
				</li>
			{% endfor %}
			</ol>
			{% paginate %}
		<!-- main ends -->
		</div>
		
		<!-- left-columns starts -->
		<div id="left-columns" class="grid_3">
			<div class="grid_3 alpha">
			
				<div class="sidemenu">	 
					<ul>				
				<li><a href="../index/">首页</a></li>
				<li><a href="../house/">买房</a></li>
				<li><a href="../rent/">租房</a></li>
				<li><a href="../map/">地图</a></li>
				<li><a href="../contact/">联系我们</a></li>	
					</ul>	
				</div>
				
				<div class="sidemenu">
					<h3></h3>
					<ul>
						<li><a href="http://www.anjuke.com/">安居客</a></li>
						<li><a href="http://www.alistapart.com">顺德房产</a></li> 		
					</ul>
				</div>
			</div>
		</div>
		<!-- end left-columns -->
		 	
	
	<!-- contents end here -->	
	</div></div>

{% endblock %}